package org.dromara.bykt.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.bykt.domain.BYKTExamInfo;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;

import java.io.Serial;
import java.io.Serializable;


/**
 * 考试咨询视图对象 exam_info
 *
 * @author Hou
 * @date 2025-07-02
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BYKTExamInfo.class)
public class BYKTExamInfoImportVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 图片
     */
    @ExcelProperty(value = "图片")
    private String image;

    /**
     * 图片Url
     */
    private String imageUrl;
    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    private String content;

    /**
     * 归属IP （与geography_info中id 对应）
     */
    @ExcelProperty(value = "归属省份")
    private String affiliationIp;

    /**
     * 信息类型（1：考试大纲   2：历年分数线  3：考试政策  4：招生计划 ）
     */
    @ExcelProperty(value = "信息类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=考试大纲,2=历年分数线,3=考试政策,4=招生计划", separator = ",")
    private String informationType;


}
